//---------------------------------------------------------------------------
#ifndef CColoredMatrClassH
#define CColoredMatrClassH
//---------------------------------------------------------------------------
#include <vector.h>
#include <Grids.hpp>
#include "MatrClass.h"
//---------------------------------------------------------------------------
class CColoredMatr {
private:
	vector <CMatr> m;
public:
	CColoredMatr();
	~CColoredMatr();
	void addCol();
	void addRow();
	void delCol(int index);
	void delRow(int index);
	void inc(int i, int j, vector <int> c, vector <int> m);
	void dec(int i, int j);
	int get(int i, int j, int col);
	void Out(TStringGrid *s);
};
//---------------------------------------------------------------------------
#endif
